package top.lshaci.learning.springboot.simbot.task;

import love.forte.simbot.bot.BotManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Send2周云龙
 *
 * @author liangxu
 */
@Component
public class Send2周云龙 {

    @Autowired
    private BotManager botManager;

    @Scheduled(cron = "0/5 * * * * ?")
    public void send() {
        botManager.getDefaultBot().getSender().SENDER.sendPrivateMsg(360775698, "资料啊");
    }
}
